home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Timed Shutdown / timedshutdown.exe / {app} / Command Line.txt next >
Text File  |  2003-10-06  |  4KB  |  84 lines

  1. Timed Shutdown Command Line Parameters
  2. ======================================
  3.  
  4. These can be used while starting Timed Shutdown to automatically configure it. This can be useful if you often use the same settings\trigger or if you want to use it at the end of a batch file.
  5.  
  6.  
  7. -cd
  8.  
  9. This tells the program to use the Final Countdown option. I recommend you include this for all your shutdowns....just incase. :)
  10.  
  11.  
  12. -f
  13.  
  14. This tells the program to use Force when shutting down. I recommend you use this when you want to be sure that your computer fully shuts down.
  15.  
  16.  
  17. -t123456
  18.  
  19. This is used when you want to use the Time trigger. The "-t" tells the program it's a Time trigger and after it you'll notice there are six digits. These are used to set the shutdown time. The first two are the hour (12), the next two are the minute (34) and the last two are the seconds (56). So for this example the shutdown will commence at 12:34 PM and 56 seconds. The time MUST be entered in 24 hour format eg. HHMMSS and ALL SIX digits must be used. By this I mean that if you wanted to set the time for 1 o'clock in the morning you would use 010000 and if it was 1 o'clock in the afternoon you would use 130000.
  20. NOTE: The hours should be between 00 and 23 and the minutes and seconds should be between 00 and 59.
  21.  
  22.  
  23. -i60
  24.  
  25. This is used when you want to use the Internet  trigger. The two digits that follow are the time (in seconds) the program should wait before shutting down. I normally keep this at 60. Again you must use both digits!!! e.g. If you only want the program to wait 7 seconds then you must write 07 instead of just 7.
  26. NOTE: The wait value must be between 01 and 60.
  27.  
  28.  
  29. -u3059
  30.  
  31. This is used when you want to use the CPU Usage trigger. The four digits that follow the "-u" configure the settings. The first two (30) is the Target CPU Usage and the last two (59) is how long the CPU must be under that usage to shutdown. So for 3059 the CPU usage must be under 30% for 59 seconds. Again, all four digits must be used so if you wanted to use 8% then you would write it 0859.
  32.  
  33. NOTE: CPU Usage must be between 01 and 99 and the wait value between 01 and 60.
  34.  
  35.  
  36. -d123456
  37.  
  38. This is used when you want to use the Countdown trigger. Similar to the Time trigger, the six digits are used to set the hours\minutes\seconds. In this case the shutdown will be triggered after 12 hours, 34 minutes and 56 seconds. Again it should follow the HHMMSS format.
  39.  
  40. NOTE: The hours should be between 00 and 23 and the minutes and seconds should be between 00 and 59. The maximum countdown is 23 hours, 59 minutes and 59 seconds. eg. -d235959
  41.  
  42.  
  43. -a1
  44.  
  45. This selects what to do when the trigger is activated e.g.. Shutdown, Restart or Log off. The number after the "-a" corresponds to each action..
  46.  
  47. -a1 - Shutdown
  48. -a2 - Restart
  49. -a3 - Log Off
  50. -a4 - Hibernate
  51. -a5 - Disconnect
  52.  
  53. If there is no "-a" switch present then the default will be to Shutdown.
  54.  
  55. NOTE: The number after "-a" must be 1, 2, 3, 4 or 5.
  56.  
  57.  
  58. -s
  59.  
  60. This is kept from the previous version and shuts down the computer without the need of a trigger.
  61.  
  62.  
  63.  
  64. EXAMPLES:
  65. ---------
  66.  
  67. Shutdown after lost internet connection for 60 seconds (final countdown, force)...
  68. "C:\Program Files\Timed Shutdown\T_Shutdown.exe" -i60 -f -cd
  69.  
  70.  
  71. Restart at 2:30 PM (final countdown, no force)...
  72. "C:\Program Files\Timed Shutdown\T_Shutdown.exe" -t143000 -cd -a2
  73.  
  74.  
  75. Log off after CPU usage is less then 20% for 25 seconds. (no final countdown, force)...
  76. "C:\Program Files\Timed Shutdown\T_Shutdown.exe" -u2025 -f -a3
  77.  
  78.  
  79. Shutdown after 12 minutes. (final countdown, no force)...
  80. "C:\Program Files\Timed Shutdown\T_Shutdown.exe" -d001200 -cd -a1
  81.  
  82.  
  83. Shutdown straight away. (final countdown, force)...
  84. "C:\Program Files\Timed Shutdown\T_Shutdown.exe" -s -f -cd